pdf-icon

Unit ByteSwitch

SKU: U191

Description

Unit ByteSwitch is an 8-channel toggle switch input unit, equipped with 8 toggle switches and 9 WS2812C RGB LEDs. It uses the STM32 as the main controller and supports I2C communication. The board includes two Port A I2C interfaces and supports cascading multiple Unit ByteSwitch units to meet the needs of complex systems. It can detect toggle switch inputs and provide dynamic light status feedback, suitable for applications such as smart home control, gaming entertainment devices, educational development platforms, industrial status display, and interactive exhibitions.

Features

  • 8 toggle switch inputs
  • 9 WS2812C RGB LEDs
  • STM32 main controller
  • I2C communication interface
  • Development platform:
    • UIFlow 1.0
    • UIFlow 2.0
    • Arduino IDE

Included

  • 1x Unit ByteSwitch
  • 1x HY2.0-4P cable (20cm)
  • 1x tags

Applications

  • Smart home control panels
  • Gaming or entertainment device controllers
  • Education and laboratory development platforms
  • Status control and feedback devices
  • Portable device debugging tools
  • Interactive exhibitions or scene controls
  • User interface for small instruments

Specifications

Specification Parameter
MCU STM32G031G8U6, 32-bit ARM Cortex-M0+ core, 64 MHz
Toggle Switch 8-way independent toggle switch (Double-pole double-throw)
RGB LEDs WS2812C-2020 (9 LEDs)
Communication Interface I2C communication @ 0x46
Grove Interface 2 (I2C bus cascading expansion)
Standby Power Consumption DC 5V @ 9.03mA
Operating Temperature 0-40°C
Product Dimensions 88.0 * 24 * 19.6mm
Package Dimensions 169.0 * 119.0 * 21.0mm
Product Weight 22.5g
Package Weight 29.1g

Schematics

schematics

PinMap

HY2.0-4P Black Red Yellow White
Define GND 5V SDA SCL
STM32 PA0 PA1 PA5 PA6 PA7 PA15 PB3 PA8 PB5
KEY SW_K0 SW_K1 SW_K2 SW_K3 SW_K4 SW_K5 SW_K6 SW_K7 RGB

Model Size

module size

Softwares

Arduino

Internal Firmware

UIFlow 1.0

  • coming soon...

UIFlow 2.0

  • coming soon...

Internal Firmware

Protocol

protocol

Video

  • Unit ByteSwitch product introduction and case demonstration